<!DOCTYPE html>
<html>
  <head>
    <title>AppCan API main Window</title>
    <meta charset="utf-8">
	<link rel="stylesheet" href="css/ui-btn.css">
        <link rel="stylesheet" href="css/ui-base.css">
        <link rel="stylesheet" href="css/ui-box.css">
        <link rel="stylesheet" href="css/ui-color.css">
		<link rel="stylesheet" href="css/ui-res.css">
        <script src="js/zy_control.js">
        </script>
        <script src="js/zy_click.js">
        </script>
		<script src="js/zy_json.js">
        </script>
        <script>
        </script>
    <script>
      var s = window.getComputedStyle(document.body, null);
      var h = parseInt(screen.height);
      var w = parseInt(screen.width);
      window.uexOnload = function(type){
        if(!type){
          //开启浮动窗口pop，位置为屏幕左侧外面
           uexWindow.openPopover("pop","0","pop.html","",-w,0,w,h,parseInt(s.fontSize),"0");
        }
      }
      function goPop(){
        //让pop浮动窗口执行anim方法，并传入参数w,即屏幕宽度
        uexWindow.evaluatePopoverScript("","pop","anim("+w+")");
      }
    </script>
  </head>
  <body>
    <input type="button" value="执行POP Window 从左往右滑入屏幕" onclick="goPop()"/>
  </body>
</html>